class Solution {
public:
    int oddCells(int m, int n, vector<vector<int>>& indices) {
        set <vector<int>> num;
        for(auto indice : indices){
            for(int i = 0; i < n; ++i){
                vector<int> pos = {indice[0], i};
                auto it = set.find(pos);
                if(it != set.end()){
                    num.push(pos);
                }else{
                    num.erase(it);
                }
            }

            for(int i = 0; i < m; ++i){
                auto it = set.find({indice[0], i});
                if(it != set.end()){
                    num.push({indice[0], i});
                }else{
                    num.erase(it);
                }
            }
        }
        return 0;
    }
};